﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="index.php?app=rollpic&act=index" target="mainframe">滚动图片列表</a></li>
                                                 <li><a  href="index.php?app=rollpic&act=add"   target="mainframe">增加滚动图片</a></li>

	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>新增导航栏</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>


                                 
                                 
   
                         
 
                                   <form action="?app=rollpic&act=editpost" method="post" enctype="multipart/form-data">

                                   <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="table_style">
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">

	                                      <td width="30%">图片名称:</td>
	                                      <td><input type="text" name="data[name]" value="{$picdata.name}" maxlength="30" /></td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>链接提示文字(选填):</td>
	                                      <td><input type="text" name="data[alt]" value="{$picdata.images_alt}" maxlength="50" /></td>
                                   </tr>
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>图片链接地址<br/>(如果是绝对地址，请以 http:// 或 https:// 开头):</td>

	                                      <td><input type="text" name="data[link]" size="50"  maxlength="80"  value="{$picdata.images_link}" /></td>
                                  </tr>
                                  <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>图片链接打开目标(默认为当前浏览窗口):</td>
	                                      <td>
	                                      <select name="data[target]">
		                                       <option <?php if ($picdata.images_target =='_self') { ?>  selected <?php } ?> value="_self">_self</option>
		                                       <option <?php if ($picdata.images_target =='_blank') { ?> selected <?php } ?> value="_blank">_blank</option>
		                                       <option <?php if ($picdata.images_target =='_parent') { ?>  selected  <?php } ?> value="_parent">_parent</option>
		                                       <option <?php if ($picdata.images_target =='_top') { ?>  selected  <?php } ?>value="_top">_top</option>
	                                     </select>
	                                     </td>
                                 </tr>
                                 
                                   <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                      <td>图片上传:</td>

	                                      <td><input name="postfile1" type="file" class="buton" value=""/></td>
                                  </tr>
                                                                  
                                 <tr onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	                                     <td>显示状态:</td>
	                                     <td><input type="radio" name="data[show]" value="1" id="top" <?php if  ($picdata.status ==1) { ?>  checked  <?php } ?> /><label for="top">显示</label>&nbsp;<input type="radio" name="data[show]" value="0" id="bottom" <?php if  ($picdata.status ==0) { ?>   checked  <?php } ?>/><label for="bottom">隐藏</label></td>

                                </tr>
                                <tr >
	                                     <td>&nbsp;</td>
	                                     <td><input type="hidden" name="data[id]" value="{$picdata.id}" /> <input type="submit" class="buton" value=" 提 交 " /></td>
                                </tr>
                                </table>
                                </form>
                                
                                 
                                 
                                 
                                 
                                                               
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 

                 </div>

</div>


<!--{inc(footer.view.html)}-->